package com.itheima.ydd.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 广告图管理
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("ydd_advimg")
public class Advimg {

    //id 自动递增
    @TableId(type = IdType.AUTO)
    private int id;

    private String advimgpos;

    private String advimgsrc;

    private String advimgdesc;

    private String advimglink;

    private String default_data;

    @TableField(exist = false)
    private String advposname;


}